<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%String path = request.getContextPath() ;%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %> 
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/tld/ui.tld" prefix="ui" %>
<jsp:include page="../../import.jsp" flush="true" />

<table border="0" cellpadding="0" cellspacing="0"  width="300">
	<c:if test="${flag == 'no'}">
		<tr>
			<td>${info }</td>
		</tr>
	</c:if>
	<c:if test="${flag == 'yes'}">
		<c:forEach items="${reList }" var="remap">
			<tr>
	            <td>${remap.vin }</td>
				<td>
					<a href="javascript:void('0')" onclick="showReport('${remap.id }', '${remap.vin }')" >查看${remap.reportTime }</a>
	            </td>
			</tr>
		</c:forEach>
	</c:if>
</table>

<style type="text/css">
	a:link{text-decoration: none; color:blue; font-family: 微软雅黑;}
	a:visited{color:green;}
	a:hover{text-decoration: underline; color:#09f;}
	a:active{text-decoration: blink; color: yellow;}
</style>
<script>
	//查看报告详情
	function showReport(id, vin){
		var url = '<%=path%>/car300/infCar300Rec/toReportViewPage.do?';
		Add_navTab('tab_report_'+id,'旧车评估报告',url+'id='+id+'&vin='+vin);
	};
</script>